#!/usr/bin/python3

import subprocess

users = subprocess.getoutput('cat /etc/passwd').splitlines()

for i in users:
    arr = i.split(':')
    print("username: %-20s uid is %s" % (arr[0], arr[2]))
